<header class="header">
    <a class="home-btn" href="/wap/index"></a>
    <a class='nav-btn'></a>
    <i class="triangle-down"></i>
</header>

<div class="side-bar">
    <div class="container">
        <a class="link close-btn">关闭</a>
        <div class="content">
            <div class="preview">
                <div>账户余额</div>
                <div style="margin-bottom:5px;" class="res-amount">正在获取……</div>
                <div>
                    <a class="link btn" href="/wap/buydemand">购买活期</a>
                </div>
            </div>
            {%$url = $smarty.server.REQUEST_URI|split_url%}
            <ul class="nav">
                <li class="link wallet {%if $url=="/wap/wallet"%}active{%/if%}" data-href="/wap/wallet">账户总览</li>
                <li class="link record {%if $url=="/wap/tradelog"%}active{%/if%}" data-href="/wap/tradelog">交易记录</li>
                <li class="link coupon {%if $url=="/wap/bonus" || $url=="/wap/coupon"%}active{%/if%}" data-href="/wap/bonus">红包<span>|</span>优惠券</li>
            </ul>

            <a class='btn btn-blank btn-large' href="/account/logout?from=wap">退出</a>
        </div>
    </div>
</div>

{%script%}
   require('wap_common:widget/header/header.js').header();
{%/script%}